<%@ Page Title="Position Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<ETestIT.Core.Position>" %>
<%@ Import Namespace="ETestIT.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>Position Details</h1>

    <ul>
		<li>
			<label for="Position_TheJobTitle">TheJobTitle:</label>
            <span id="Position_TheJobTitle"><%= Server.HtmlEncode(ViewData.Model.TheJobTitle.ToString()) %></span>
		</li>
		<li>
			<label for="Position_TheComapny">TheComapny:</label>
            <span id="Position_TheComapny"><%= Server.HtmlEncode(ViewData.Model.TheComapny.ToString()) %></span>
		</li>
		<li>
			<label for="Position_Duration">Duration:</label>
            <span id="Position_Duration"><%= Server.HtmlEncode(ViewData.Model.Duration.ToString()) %></span>
		</li>
		<li>
			<label for="Position_KeySkills">KeySkills:</label>
            <span id="Position_KeySkills"><%= Server.HtmlEncode(ViewData.Model.KeySkills.ToString()) %></span>
		</li>
		<li>
			<label for="Position_Location">Location:</label>
            <span id="Position_Location"><%= Server.HtmlEncode(ViewData.Model.Location.ToString()) %></span>
		</li>
		<li>
			<label for="Position_Description">Description:</label>
            <span id="Position_Description"><%= Server.HtmlEncode(ViewData.Model.Description.ToString()) %></span>
		</li>
		<li>
			<label for="Position_ThePosition">ThePosition:</label>
            <span id="Position_ThePosition"><%= Server.HtmlEncode(ViewData.Model.ThePosition.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpression<PositionsController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
